package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.system.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    List<Product> findAll(Product product);

    void save(Product product);

    void remove(Integer id);

    void updateStatus(Integer id, Integer status);

    void updateAuditStatus(Integer id, Integer auditstatus);


    void updateById(Product product);
}
